package com.ynet.middleground.user.bean;

import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObjPager;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Wangxz
 * @description 分页查询企业员工用户角色关系请求对象
 * @date 2019-11-26
 */
@Data
@ApiModel(value = "分页查询企业员工用户角色关系请求对象", description = "分页查询企业员工用户角色关系请求对象")
public class QueryUserRoleRelationReq extends BaseReqObjPager {
    private static final long serialVersionUID = 5133194824586946106L;
    /**
     * 员工id
     */
    @ApiModelProperty(value = "员工id", notes = "员工id", dataType = "Integer")
    private Integer userId;

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", notes = "角色id", dataType = "Integer")
    private Integer roleId;
    
    /**
     * 所属企业id
     */
    @ApiModelProperty(value = "所属企业id(即企业客户的userId)", notes = "所属企业id(即企业客户的userId)", dataType = "Integer")
    private Integer enterpriseId;
    
    /**
     * 查询渠道
     */
    @ApiModelProperty(
            value = "查询渠道，支持传多个渠道，以英文逗号隔开，例：C01,C02",
            notes = "查询渠道，支持传多个渠道，以英文逗号隔开，例：C01,C02",
            dataType = "String")
    private String queryChannel;
}
